[INFO] cloning repository https://github.com/negamartin/serial-keyboard
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/negamartin/serial-keyboard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnegamartin%2Fserial-keyboard", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnegamartin%2Fserial-keyboard'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b1a110b0189e40c9f0d852469628d5ebc17351e2
[INFO] building negamartin/serial-keyboard against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnegamartin%2Fserial-keyboard" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/negamartin/serial-keyboard on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/negamartin/serial-keyboard
[INFO] finished tweaking git repo https://github.com/negamartin/serial-keyboard
[INFO] tweaked toml for git repo https://github.com/negamartin/serial-keyboard written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/negamartin/serial-keyboard already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded CoreFoundation-sys v0.1.4
[INFO] [stderr]   Downloaded mach v0.1.2
[INFO] [stderr]   Downloaded enigo v0.0.12
[INFO] [stderr]   Downloaded libudev v0.2.0
[INFO] [stderr]   Downloaded subprocess v0.1.13
[INFO] [stderr]   Downloaded IOKit-sys v0.1.5
[INFO] [stderr]   Downloaded mach v0.0.5
[INFO] [stderr]   Downloaded nix v0.10.0
[INFO] [stderr]   Downloaded serialport v3.0.0
[INFO] [stderr]   Downloaded crossbeam v0.2.12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 927cbb0ec19408457cf664912d5e769b8d7c13de95769a60b65629fec5f6d169
[INFO] running `Command { std: "docker" "start" "-a" "927cbb0ec19408457cf664912d5e769b8d7c13de95769a60b65629fec5f6d169", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "927cbb0ec19408457cf664912d5e769b8d7c13de95769a60b65629fec5f6d169", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "927cbb0ec19408457cf664912d5e769b8d7c13de95769a60b65629fec5f6d169", kill_on_drop: false }`
[INFO] [stdout] 927cbb0ec19408457cf664912d5e769b8d7c13de95769a60b65629fec5f6d169
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7e355c4d431e8117f987a1c2a9138223a5ff72f77a5d41abb7d385853a692024
[INFO] running `Command { std: "docker" "start" "-a" "7e355c4d431e8117f987a1c2a9138223a5ff72f77a5d41abb7d385853a692024", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.43
[INFO] [stderr]    Compiling pkg-config v0.3.13
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling byteorder v1.2.4
[INFO] [stderr]    Compiling serde v1.0.71
[INFO] [stderr]    Compiling nix v0.10.0
[INFO] [stderr]    Compiling cfg-if v0.1.4
[INFO] [stderr]    Compiling bitflags v1.0.3
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling bitflags v0.9.1
[INFO] [stderr]    Compiling itoa v0.4.2
[INFO] [stderr]    Compiling dtoa v0.4.3
[INFO] [stderr]    Compiling proc-macro2 v0.4.9
[INFO] [stderr]    Compiling quote v0.6.5
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling enigo v0.0.12
[INFO] [stderr]    Compiling syn v0.14.7
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling subprocess v0.1.13
[INFO] [stderr]    Compiling bytes v0.4.9
[INFO] [stderr]    Compiling libudev v0.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.71
[INFO] [stderr]    Compiling serde_json v1.0.24
[INFO] [stderr]    Compiling serialport v3.0.0
[INFO] [stderr]    Compiling serial-keyboard v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:27:55
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub type Result<T> = ::std::result::Result<T, Box<Error>>;
[INFO] [stdout]    |                                                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub type Result<T> = ::std::result::Result<T, Box<dyn Error>>;
[INFO] [stdout]    |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/connection.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 34 |     serial: Box<SerialPort>,
[INFO] [stdout]    |                 ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 34 |     serial: Box<dyn SerialPort>,
[INFO] [stdout]    |                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 |         cause: Box<Error>,
[INFO] [stdout]    |                    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 31 |         cause: Box<dyn Error>,
[INFO] [stdout]    |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:48:59
[INFO] [stdout]    |
[INFO] [stdout] 48 |     impl<T> ResultBoxExt for ::std::result::Result<T, Box<Error>> {
[INFO] [stdout]    |                                                           ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 48 |     impl<T> ResultBoxExt for ::std::result::Result<T, Box<dyn Error>> {
[INFO] [stdout]    |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:40:36
[INFO] [stdout]    |
[INFO] [stdout] 40 |         fn cause(&self) -> Option<&Error> {
[INFO] [stdout]    |                                    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 40 |         fn cause(&self) -> Option<&dyn Error> {
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/tmp/rustcYHSNxN/symbols.o" "/opt/rustwide/target/debug/deps/serial_keyboard-3d5e8be1dc1f094d.serial_keyboard.ed874617-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/serial_keyboard-3d5e8be1dc1f094d.serial_keyboard.ed874617-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/serial_keyboard-3d5e8be1dc1f094d.serial_keyboard.ed874617-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/serial_keyboard-3d5e8be1dc1f094d.serial_keyboard.ed874617-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/serial_keyboard-3d5e8be1dc1f094d.serial_keyboard.ed874617-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/serial_keyboard-3d5e8be1dc1f094d.serial_keyboard.ed874617-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/serial_keyboard-3d5e8be1dc1f094d.1cobm87isfzs78gi.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/lib/x86_64-linux-gnu" "-L" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libserial_keyboard-bb409a58afe7ce4f.rlib" "/opt/rustwide/target/debug/deps/libsubprocess-13fc5d2225f95f6b.rlib" "/opt/rustwide/target/debug/deps/libserde_json-b742057da81cbcd9.rlib" "/opt/rustwide/target/debug/deps/libitoa-6ef6057b0a3cbed1.rlib" "/opt/rustwide/target/debug/deps/libdtoa-d7bbb6b1042d1b33.rlib" "/opt/rustwide/target/debug/deps/libserde-ba9c6c43868a674c.rlib" "/opt/rustwide/target/debug/deps/libenigo-4cac3b78489b4c19.rlib" "/opt/rustwide/target/debug/deps/libserialport-2f08ec0841f4a5dc.rlib" "/opt/rustwide/target/debug/deps/libbitflags-1810396d55db4a65.rlib" "/opt/rustwide/target/debug/deps/libnix-be4a978d83e77022.rlib" "/opt/rustwide/target/debug/deps/libvoid-908b01a274af8ae5.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-cd806b590a44f9e8.rlib" "/opt/rustwide/target/debug/deps/libbitflags-d4ada631758d8768.rlib" "/opt/rustwide/target/debug/deps/libbytes-ab286c306f81f01e.rlib" "/opt/rustwide/target/debug/deps/libiovec-f689bfb44b0aeca7.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-808b6b2f16462dd7.rlib" "/opt/rustwide/target/debug/deps/liblibudev-1d0034002892d967.rlib" "/opt/rustwide/target/debug/deps/liblibudev_sys-93a81f046ceb0d2f.rlib" "/opt/rustwide/target/debug/deps/liblibc-c23787a595f08a63.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3dd5f78c3b43746e.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e13cbb326bcd01a4.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-13ac6af5403a52c8.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-a7b8febdd2acb289.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-343513f0726f71ed.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-8f833d900bfb98aa.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e97a7960ca6216c8.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-fb8c561e8c8eb24d.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a45121889bb564ec.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-f943c2d34bd4b56d.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-72ce2aaa649404e0.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-ac5d08ad5339e92e.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-dacfda262d5656fb.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e2056a834ba0712c.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a60649c148c6e2db.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-3e961d059b9bcde7.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-20f26f875d0170e2.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-522518611024dce5.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-05898138a596088a.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5b83a1df856cf582.rlib" "-Wl,-Bdynamic" "-lxdo" "-ldl" "-ludev" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/serial_keyboard-3d5e8be1dc1f094d" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lxdo
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `serial-keyboard` due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "7e355c4d431e8117f987a1c2a9138223a5ff72f77a5d41abb7d385853a692024", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e355c4d431e8117f987a1c2a9138223a5ff72f77a5d41abb7d385853a692024", kill_on_drop: false }`
[INFO] [stdout] 7e355c4d431e8117f987a1c2a9138223a5ff72f77a5d41abb7d385853a692024
